package com.yhos.platform.oopston.mapper.model.shunfeng;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class ShunfengSenderCreateModel {

    @ApiModelProperty(value = "国家代码：固定值CN", required = true)
    @NotNullValid(message = "国家代码：固定值CN不能为空")
    private String country_code;

    @ApiModelProperty(value = "寄件人公司名", required = false)
    private String company;

    @ApiModelProperty(value = "寄件方联系电话", required = true)
    @NotNullValid(message = "寄件方联系电话不能为空")
    private String phone;

    @ApiModelProperty(value = "寄件方手机", required = true)
    @NotNullValid(message = "寄件方手机不能为空")
    private String mobile;

    @ApiModelProperty(value = "寄方邮编", required = true)
    @NotNullValid(message = "寄方邮编不能为空")
    private String zipcode;

    @ApiModelProperty(value = "寄方邮箱", required = false)
    private String email;

    @ApiModelProperty(value = "寄方英文地址", required = true)
    @NotNullValid(message = "寄方英文地址不能为空")
    private List<ShunfengSenderAddressCreateModel> address;

    public String getCountry_code() {
        return country_code;
    }

    public void setCountry_code(String country_code) {
        this.country_code = country_code;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<ShunfengSenderAddressCreateModel> getAddress() {
        return address;
    }

    public void setAddress(List<ShunfengSenderAddressCreateModel> address) {
        this.address = address;
    }
}
